/**
 * GenericDao.java
 *
 *
 * $LastChangedBy: allen $
 * $LastChangedDate: 2007-11-26 18:06:23 +0800 $
 * $Revision: 1267 $
 */
package com.myspace.dao;

import java.io.Serializable;


/**
 * An interface shared by all business data to visit objects.
 *
 */
public interface GenericDao <T, ID extends Serializable> {

	T findById(ID id);

	T save(T entity);

	T update(T entity);

	void delete(T entity);

}
